package com.muyu.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: TestController
 * @Author: Zirun.Xin
 * @Date: 2025/3/19 上午10:05
 * @Version: 1.0
 * @Description: 测试控制层
 */
@RestController
@RequestMapping(value = "/api/v1/test")
public class TestController {

    private static Logger log = LogManager.getLogger(TestController.class);

    @GetMapping(value = "/demo1")
    public void test1() {
        log.info("程序执行咯！记录日志啦");
    }
}
